<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <title>统一异常处理</title>
</head>
<body>
    <h1>Error Handler</h1>
    <div th:text="${url}">http://tgl.me</div>
    <div th:text="${exception.message}">异常</div>
</body>
</html>